package com.cheer.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 比赛表
 * 
 * @author cheer
 */
@Data
@TableName("ex_match_history")
public class ExMatchHistoryEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 1：挑战赛，2：匹配赛
	 */
	private Integer type;
	/**
	 * 答对题数
	 */
	private Integer correctNumber;
	/**
	 * 分数
	 */
	private Integer points;
	/**
	 * 是否获胜
	 */
	private Boolean isWin;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Date updateTime;

}
